import os


def find_dir_file(path):
    file_list = []
    if os.path.exists(path):
        for f in os.listdir(path):
            new_paht = path + '/' + f
            if os.path.isdir(new_paht):
                file_list += find_dir_file(new_paht)
            else:
                file_list.append(new_paht)
    else:
        print(f"{path} is not exists")
        return []
    return file_list


if __name__ == '__main__':
    file_list = find_dir_file("D:/qq")
    print(file_list)
